{if not isset($separator)}
    {if isset($element.separator)}{assign var="separator" value=$element.separator}
    {else}{assign var="separator" value=""}{/if}
{/if}
{assign var="id" value=$name|id}

{html_radios id="$id" name="$name" options=$element.values selected=$element.value separator="$separator"}
